/**
 * 
 */
package cl.kaisanetwork.kaisaportal.page.support;

import org.springframework.stereotype.Component;

import cl.kaisanetwork.kaisaportal.page.BorderPage;
import cl.kaisanetwork.kaisaportal.page.accounts.SignUp;

/**
 * @author Tomás Tapia Silva
 *
 */

@Component
public class Support extends BorderPage {

	private static final long serialVersionUID = 1L;

	/* 
	 * @see org.apache.click.Page#onInit()
	 */
	@Override
	public void onInit() {
		super.onInit();
		setNavMenuSelected(BorderPage.SUPPORT);
		setTitle("Ask Us Anything Support for Ruby on Rails");
		setTextTopBox("Serious <strong>support</strong> by Rails <strong>experts</strong>.");
	}
	
	@Override
	public boolean onSecurityCheck() {
		if(!super.onSecurityCheck()) {
			setRedirect(SignUp.class);
			return false;
		}
		return true;
	}

}
